import { axios } from "@/utils/request";

const api = {
    pageList: "/expenses/paymentOrder/pageList",                 //分页查询支付订单（系统）
    createPayOrder: "/expenses/paymentOrder/createPayOrder",     //创建支付订单
};


/**
 * 分页查询支付订单（系统）
 */
export function pageList(data) {
    return axios({
      url: api.pageList,
      method: "post",
      data: data
    });
}

/**
 * 创建支付订单
 */
 export function createPayOrder(data) {
    return axios({
      url: api.createPayOrder,
      method: "post",
      params: data
    });
}

